package Service;

import Entity.Customer;
import java.util.List;

public interface CustomerService {
    boolean save(Customer customer);
    boolean delete(Integer id);
    boolean update(Customer customer);
    Customer getById(Integer id);
    List<Customer> getAll();
    List<Customer> getByName(String name);
    List<Customer> getByPhone(String phone);
    List<Customer> getByEmail(String email);
}